body {
	font-family: Verdana, Helvetica, sans-serif;
}

.clearfix {
	clear: both;
	display: block;
	height: 0px;
	overflow: hidden;
}

a {
	color: #00c;
	text-decoration: none;
	outline: 0;
}

/* header */
#header {
	background-color: #dde;
	height: 100%;
	overflow: hidden;
	padding: 7px;
	margin-top: 5px;
}

#header h1 {
	font-size: 20px;
	float: left;
	vertical-align: middle;
	margin: 0;
	padding: 0 0 0 .3em;
}

#header h1 a {
	text-decoration: none;
	color: black;
}

#user-bar {
	font-size: 14px;
	text-align: right;
	float: right;
	vertical-align: middle;
	padding: 0;
	margin: 0;
}

#login-name {
	font-weight: bold;
}

/* FOOTER */
#footer {
	clear: left;
	border-top: 1px solid #ccc;
	margin-top: 20px;
	padding: 0.3em 0;
}

#footer p {
	font-size: 14px;
	text-align: center;
	vertical-align: middle;
	padding: 0 0 0 .3em;
	margin: 0;	
}

/* CONTENT-WRAP */
#content-wrap {
	clear: both;
	margin: 0;
	padding: 0;
	width: 100%;
	float: left;	
}

#content {
	width: 1000px;
	margin: 0 auto;
	padding: 0 0 20px 0;
	overflow: hidden;	
}

#content #img {
	padding: 7px;
	text-align: center;
}

#content h1 {
	font-size: 25px;
	text-align: center;
	vertical-align: middle;
	margin: 0;
	padding: 3px;
}

#content-wrap #upload {
	padding: 7px;
	text-align: right;	
}

/* columns */
#main {
	float: left;
   	margin: 0;
   	padding: 25px 0 0 0;
	width: 740px;
}

#main #img {
	padding: 7px;
	text-align: center;
}

#sidebar {
	width: 245px;
	float: right;
   	margin: 0;
   	padding: 25px 0;
   	font-size: .95em;
}

#main #photoMenu {
	font-size: 14px;
	text-align: center;
	vertical-align: middle;
	padding: 0;
	margin: 0;
}

/* Gallery */
#content #gallery {
	
	margin: 5px auto;
	padding: 7px;
	overflow: hidden;
}

/* photoSearch */
#photoSearch {
	padding: 7px;
	text-align: center;	
}

#photoSearch input.searchBox {
	width: 400px;
}

/* Upload form */
fieldset.upload-form {
	width: 400px;
	margin: 0 auto;
	padding: 20px;
	overflow: hidden;
}

/* Gallery */
#gContent {
	margin: 10px 0 0 25px;
	padding: 7px;
	overflow: hidden;
}

/* Gallery list */
.gPhotos li {
	display: inline;
	list-style: none;
	width: 200px;
	min-height: 225px;
	float: left;
	margin: 0 35px 25px 0;
	text-align: center;
}

/* Menu de Navegacion */
.tn{
	clear: left;
	padding: 5px 0 0 5px;
	background: #C7C7C7;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	zoom: 1;
	overflow: hidden;
	font-weight: bold;
	position: relative;
	z-index: 1000;	
}

.tn li {
	display: block;
	float: left;
	margin-right: 5px;
	background: #8E8E8E;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;	
}

.tn li:hover {
	background: #555555;	
}

.tn li a {
	display: block;
	padding: 5px 10px;
	color: #fff;
}

.tn .active, .tn .active:hover {
	background: #E7E7E7;
}

.tn .active a {
	color: #000000;
}

/* Botones */
.btn {
	display: inline-block;
	background: none;
	margin: 5px 0;
	padding: 3px 0;
	border-width: 0;
	overflow: visible;
	color: #333;
	cursor: pointer;	
}

.btn span {
	background: #ddd url('/static/img/btnbg.png') repeat-x 0 0;
	margin: 0;
	padding: 3px 0;
	border-left: 1px solid #bbb;
	border-rigth: 1px solid #aaa;
	color: #000;
}

* html .btn span {
	padding-top: 0;
}

.btn span span {
	position: relative;
	padding: 3px .4em;
	border-width: 0;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #aaa;
}



/**
 * Star rating L-R panels 
*/
.ratings {
	margin: 0 0 1em;
	width: 100%;
	overflow: hidden;
	line-height: 2em;
	margin: 1em;
}

.ratings form {
	width: 100%;
	overflow: hidden;
}

.rating-L {
	float: left;
	width: 100%;
	margin-right: 1em;
	white-space: nowrap;
}
.rating-R {
	float: left;
	margin-left: 1em;
	width: 300px;
}

/**
 * Messages Bar
 */
.message-box { text-align: center; padding: 5px; color:#545454;  margin:5px auto; }
.clean { background-color: #efefef; border-top: 2px solid #dedede; border-bottom: 2px solid #dedede; }
.info  { background-color: #f7fafd; border-top: 2px solid #b5d3ff; border-bottom: 2px solid #b5d3ff; }
.ok    { background-color: #d7f7c4; border-top: 2px solid #82cb2f; border-bottom: 2px solid #82cb2f; }
.alert { background-color: #fef5be; border-top: 2px solid #fdd425; border-bottom: 2px solid #fdd425; }
.error { background-color: #ffcdd1; border-top: 2px solid #e10c0c; border-bottom: 2px solid #e10c0c; }